package model;

import java.io.File;

/**
 * Contains paths as well as constants of the whole project.
 * This class musn't be instantiated.
 * 
 * @version %I%, %G%
 *
 */
public final class Configuration {	
	/**
	 * Constructur musn't be invoked. 
	 */
	private Configuration() {
		throw new AssertionError("Configuration shouldnt be instantiated");
	}
	
	
	// PATHS below
	
	/**
	 * File separator of the current system
	 */
	public static final String SEP = File.separator;
	public static final String PATHTOTEX = "files" +SEP+"tex"+SEP;
	
	public static final String TEXRECHNUNGHEADER = PATHTOTEX+"headerRechnung.tex";
	public static final String TEXTABLEBEGIN = PATHTOTEX+"tableBegin.tex";
	public static final String TEXTABLEEND = PATHTOTEX+"tableEnd.tex";
	public static final String TEXSIGNATURE = PATHTOTEX+"signature.tex";
	public static final String TEXATTACHEMENTTABLEBEGIN = PATHTOTEX + "attachementTableBegin.tex";
	public static final String TEXLOHNHEADER = PATHTOTEX + "headerLohnkosten.tex";
	public static final String TEXTABLELOHN = PATHTOTEX + "tableLohn.tex";
	public static final String TEXBALANCEHEADER = PATHTOTEX + "headerBilanz.tex";
	public static final String TEXTABLEUMSATZBEGIN = PATHTOTEX + "tableUmsatzBegin.tex";
	public static final String TEXTABLEPROFITEND = PATHTOTEX + "tableProfitEnd.tex";
	public static final String TEXTABLEOPERATORSALARY = PATHTOTEX + "tableOperatorSalary.tex";
	public static final String TEXNORMALSIGNATURE = PATHTOTEX + "normalSignature.tex";
	public static final String TEXPUREPROFIT = PATHTOTEX + "tablePureProfit.tex";
	public static final String TEXINVENTORYTABLEBEGIN = PATHTOTEX + "tableInventoryBegin.tex";
	public static final String TEXINVENTORYINVOICEEND = PATHTOTEX + "inventoryInvoiceEnd.tex";
	
	
	// CONSTANTS below
	
	/**
	 * Login name of the admin
	 */
	public static final String ADMINNAME = "admin";
	
	/**
	 * Minimum length of a password
	 */
	public static final int MINPWLENGTH = 5;

	public static final String DATABASENAME = "Hausladen.db";

	public static final String DBINI = "db.ini";

	private static final String STYLEPATH = "/view/css/";
	public static final String STYLEMAINVIEW = STYLEPATH + "mainView.css";

	public static final String STYLEVALIDATION = STYLEPATH + "validation.css";
	public static final String PATHTEXINVOICECUSTOMER = "invoice/";
	public static final String STYLELOGIN = STYLEPATH + "login.css";
	public static final String STYLEROOT = STYLEPATH + "root.css";
	public static final String STYLEADMIN = STYLEPATH + "admin.css";
	public static final String STYLECHECK = STYLEPATH + "check.css";
	public static final String STYLEOVERVIEW = STYLEPATH + "overview.css";
	public static final String STYLECHANGEPW = STYLEPATH + "changePW.css";
	public static final String EMPTYTRAY = "leerer Kasten";
	public static final String STYLECHART = STYLEPATH + "chart.css";

}
